#include "ClientManager.h"

ClientManager::ClientManager()
{
	m_id = -1;
}

const Vec3fNet& ClientManager::GetPos() const
{
	return m_sock.GetPos();
}

void ClientManager::SetPos(const Vec3fNet& pos)
{
	m_sock.SetPos(pos);
}

const Vec3fNet& ClientManager::GetVel() const
{
	return m_sock.GetVel();
}

void ClientManager::SetVel(const Vec3fNet& vel)
{
	m_sock.SetVel(vel);
}

bool ClientManager::Open(const std::string& host, int port)
{
	return m_sock.Open(host, port);
}

ClientSocket& ClientManager::GetSocket()
{
	return m_sock;
}

void ClientManager::SetID(int id)
{
	m_id = id;
}

int ClientManager::GetID() const
{
	return m_id;
}